                                            <div class="main_title"> <?php echo link_to(__('ЖУРНАЛ'), '@journal_catalog')?></div>
                                            <div class="statyi">
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                 <?php foreach($mat as $m):?>
                                                  <tr>
                                                    <td width="1%" valign="top">
                                                    <?php if($m->getPhotoPath()!=''):?>
                                                    <?php echo link_to(image_tag('/uploads/material/journal/_thumbnail/'.$m->getPhotoPath()),'@journal_show?id='.$m->getId())?>
                                                    <?php endif ?>
                                                    </td>
                                                    <td valign="top">
                                                    <div  class="main_title_link"> <?php echo link_to($m,'@journal_show?id='.$m->getId())?></div> 
                                          			 <?php echo mb_substr(strip_tags($m->getShortContent()),0,sfConfig::get('app_substr_mainpage_journal'),'utf-8').'...'?>
                                          			 <div class="main_more"><?php echo link_to(__('Подробнее...'),'@journal_show?id='.$m->getId())?></div>
                                                    </td>
                                                  </tr>
                                                  <?php endforeach ?>
                                                 
                                              </table>
                                             </div>
                                            
                                           